package cn.hr.service;

import cn.hr.base.BaseService;
import cn.hr.pojo.Train;
import org.apache.ibatis.annotations.Param;

import java.sql.SQLException;

/**
 * 培训服务接口
 * @author MO
 *
 */
public interface TrainService extends BaseService<Train> {
    /**
     * 删除档案附属简历,图片
     * @return
     * @throws SQLException
     */
    boolean delFile(Integer id) throws SQLException;

    /**
     * 培训反馈
     * @param train
     * @return
     * @throws SQLException
     */
    boolean feedback(Train train)throws SQLException;

    /**
     * 查询资料路径
     * @return
     */
    Train selectPath(@Param("id") Integer id)throws SQLException;

}
